import { RMIObject } from "../../Engine/RMI/RMIObject";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
//class AMI_IPlayer_answerQuestion
    
    export  class AMI_IPlayer_answerQuestion extends RMIObject
    {
        constructor(arg1?: Function, arg2?: Function, arg3?: any)
        {
            super(arg1, arg2);
            this.userObject = arg3;
            this.callFunction = "answerQuestion";
            return;
        }

        public /* override */ __response(arg1: SerializeStream): void
        {
            this.cdeResponse();
            return;
        }

        public cdeResponse(): void
        {
            if (this._response)  
            {
                this._response.call(null, this);
            }
            return;
        }
    }
